package com.ticket.sass.admin.dto.input.config;

import com.ticket.sass.admin.validator.InEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ywb
 * @date 2024-04-08 18:09
 */
@Data
@ApiModel
public class TicketRefundTypeInput {
    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "1退票，2改签")
    @InEnum(intValues = {1, 2})
    private Short type;
}
